# Replication Code for Barham/Daly/Gerez/Marshall/Pocasangre 
# Vaccine Diplomacy: How COVID-19 Vaccine Distribution in Latin America Increases Trust in Foreign Governments

# Please read README.txt before running this file

## Run all files

library("groundhog")
meta.groundhog("2022-04-23")

groundhog.library("car", date = "2022-04-23")
groundhog.library("cowplot", date = "2022-04-23")
groundhog.library("geomtextpath", date = "2022-04-23")
groundhog.library("estimatr", date = "2022-04-23")
groundhog.library("haven", date = "2022-04-23")
groundhog.library("Hmisc", date = "2022-04-23")
groundhog.library("lmtest", date = "2022-04-23")
groundhog.library("MASS", date = "2022-04-23")
groundhog.library("modelsummary", date = "2022-04-23")
groundhog.library("tidyverse", date = "2022-04-23")
groundhog.library("ggplot2", date = "2022-04-23")
groundhog.library("sandwich", date = "2022-04-23")
groundhog.library("scales", date = "2022-04-23")
groundhog.library("vtable", date = "2022-04-23")
groundhog.library("xtable", date = "2022-04-23")
options(modelsummary_format_numeric_latex = "plain")

source("01_figures.R")
source("02_tables_observational.R")
source("03_tables_experimental.R")
source("04_tables_appendix.R")

rm(list = ls())